package InputOutputStreamDemo;

public class MyConnection implements AutoCloseable{

    /**
     * @throws Exception
     */
    @Override
    public void close() throws Exception {
        System.out.println("释放了某个硬件的链接资源~");
    }
}
